<?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions">
<xsl:template match="/">

	<table style="border: 1px solid #000;">
    		<tr  >
            	<td >
            		ID
            	</td>
                <td>
            		PASS
            	</td>
                 <td>
            		QUYỀN
            	</td>
            </tr>
    		<xsl:for-each select="root/user">       
        	
            <tr>
            	<td>
            		<xsl:value-of select='ID'/>
            	</td>
                <td>	
            		<xsl:value-of select="pass"/>
            	</td>
                 <td>
            		<xsl:value-of select="loai"/>
            	</td>

            </tr>
            
    		</xsl:for-each>
		</table>

</xsl:template>
</xsl:stylesheet>